'use strict';
/**
 * @params {}
 * @bussiness {首页轮播}
 * @author JC
 * @date 2022-08-15
 * **/
const Service = require('egg').Service;
class getSwiper extends Service {
    async getSwiperList() {
        try {
            let result = await this.app.mysql.select('novels_swiper')
            return result
        } catch (e) {
            return new Error('error'+ e.message)
        }

    }
}
module.exports = getSwiper